package com.kashow.injector.component;

import android.app.Activity;
import android.content.Context;

import com.kashow.injector.ContextLife;
import com.kashow.injector.PerActivity;
import com.kashow.injector.module.ActivityModule;
import com.tbruyelle.rxpermissions.RxPermissions;

import dagger.Component;

//import com.kashow.ui.search.SearchActivity;

@PerActivity
@Component( modules = ActivityModule.class,dependencies = ApplicationComponent.class)
public interface ActivityComponent {

    @ContextLife("Activity")
    Context getActivityContext();

    @ContextLife("Application")
    Context getApplicationContext();

    Activity getActivity();

    RxPermissions getRxPermissions();

}
